#!/usr/bin/env python
#####################################
# Installation module for Arachni
#####################################

# AUTHOR OF MODULE NAME
AUTHOR="Steven van der Baan (vdbaan)"

# DESCRIPTION OF THE MODULE
DESCRIPTION="This module will install/update arachni (Tasos Laskos)."

# INSTALL TYPE GIT, SVN, FILE DOWNLOAD
# OPTIONS = GIT, SVN, FILE
INSTALL_TYPE="GIT"

# LOCATION OF THE FILE OR GIT/SVN REPOSITORY
REPOSITORY_LOCATION="https://github.com/Arachni/arachni.git"

# WHERE DO YOU WANT TO INSTALL IT
INSTALL_LOCATION="arachni"

# DEPENDS FOR DEBIAN INSTALLS
DEBIAN="git"

# DEPENDS FOR FEDORA INSTALLS
FEDORA="git"

# COMMANDS TO RUN AFTER
AFTER_COMMANDS="cd {INSTALL_LOCATION},bundle install,rm /usr/local/bin/arachni*,ln -s {INSTALL_LOCATION}bin/arachni_script /usr/local/bin/arachni_script, ln -s {INSTALL_LOCATION}bin/arachni_rpcd_monitor /usr/local/bin/arachni_rpcd_monitor, ln -s {INSTALL_LOCATION}bin/arachni_rpcd /usr/local/bin/arachni_rpcd, ln -s {INSTALL_LOCATION}bin/arachni_rpc /usr/local/bin/arachni_rpc, ln -s {INSTALL_LOCATION}bin/arachni_reset_server /usr/local/bin/arachni_reset_server, ln -s {INSTALL_LOCATION}bin/arachni_restore /usr/local/bin/arachni_restore, ln -s {INSTALL_LOCATION}bin/arachni_reporter /usr/local/bin/arachni_reporter, ln -s {INSTALL_LOCATION}bin/arachni_multi /usr/local/bin/arachni_multi, ln -s {INSTALL_LOCATION}bin/arachni_console /usr/local/bin/arachni_console, ln -s {INSTALL_LOCATION}bin/arachni /usr/local/bin/arachni"


